#include "TestScene.h"
#include "../GlobalLayer.h"
#include "../../../model/vo/ViewVO.h"

TestScene::TestScene(void)
{
	
}


TestScene::~TestScene(void)
{
}

bool TestScene::init()
{
	State::init();
	/*pBg = CCSprite::create("start_bg.png");
	CCSize size2 = pBg->getContentSize();
	pBg->setPosition(ccp(pBg->getContentSize().width/2, pBg->getContentSize().height/2));
	this->addChild(pBg);*/
	return true;
}

void TestScene::onEnter()
{
	State::onEnter();
	Framework::getSingletonPtr()->changeState("DungeonsScene");
}

void TestScene::onExit()
{
	State::onExit();
	GlobalLayer::getSingletonPtr()->hide();
}

